Global Index
HTML5 JS API Index > Drag and Drop Tutorials & Specs

DragEvent

Extends MouseEvent.

The drag-and-drop processing model involves several events. They all use the DragEvent interface.

Properties
DataTransfer?
dataTransfer
The dataTransfer attribute of the DragEvent interface must return the value it was initialized to. When the object is created, this attribute must be initialized to null. It represents the context information for the event.
Constructor
DragEvent(DOMString type, optional DragEventInit eventInitDict)